#pragma once

#include<iostream>
#include<string>
#include<assert.h>
#include<unistd.h>
#include<sys/types.h>
#include<sys/ipc.h>
#include<sys/shm.h>
#include "log.hpp"

using namespace std;

#define SHM_SIZE 4096 //shmget参数:定义shm的大小，最好是页(PAGE，4096，4kb)的整数倍
#define PROJ_ID 0x44//ftok参数:值可随意，the least significant 8 bits of proj_id (which must be nonzero)
#define PATH_NAME "/home/wj"//路径正确即可。

